function handle_click () {
    const url = '/check_state_submit' + '?CRT_id=' + $('#CR_tid').val() + '&Visitor=' + $('#Visitor').val();
    $.get(url, function (data) {
        if (data.code == undefined) { // 输入信息不完整
            if(data.Pledge_Info != null) {
                var Pledge_Info_CRT_ID = `<tr><td>版权编号</td><td>${data.Pledge_Info.CRT_ID}</td></tr>`;
                var Pledge_Info_notice = `<tr><td>备注</td><td>${data.Pledge_Info.notice}</td></tr>`;
                var Pledge_Info_pledgee = `<tr><td>质权人</td><td>${data.Pledge_Info.pledgee}</td></tr>`;
                var Pledge_Info_pledger = `<tr><td>出质人</td><td>${data.Pledge_Info.pledger}</td></tr>`;
                var Pledge_Info_price = `<tr><td>价格</td><td>${data.Pledge_Info.price}</td></tr>`;
                var Pledge_Info = Pledge_Info_CRT_ID + Pledge_Info_notice + Pledge_Info_pledgee + Pledge_Info_pledger + Pledge_Info_price;
                var Pledge_Info_html = '<div><table class="am-table am-table-bordered am-table-radius am-table-striped">' + Pledge_Info + "</table></div>"
                $('#CR_Pledge_Info').after(Pledge_Info_html);
            }

            if (data.info != null) {
                var CRT_Info_Content = `<tr><td>版权内容</td><td>${data.info.CRT_Content}</td></tr>`;
                var CRT_Info_Creator = `<tr><td>创作者</td><td>${data.info.CRT_Creator}</td></tr>`;
                var CRT_Info_ID = `<tr><td>版权编号</td><td>${data.info.CRT_ID}</td></tr>`;
                var CRT_Info_Owner = `<tr><td>持有人</td><td>${data.info.CRT_Owner}</td></tr>`;
                var CRT_Info_Status = `<tr><td>版权状态</td><td>${data.info.CRT_Status}</td></tr>`;
                var notice = `<tr><td>备注</td><td>（版权状态一栏中，0表示正常，1表示被质押，2表示无效）</td></tr>`;
                var CRT_Info = CRT_Info_Content + CRT_Info_Creator + CRT_Info_ID + CRT_Info_Owner + CRT_Info_Status + notice;
                var CRT_Info_html = '<div><table class="am-table am-table-bordered am-table-radius am-table-striped">' + CRT_Info + "</table></div>";
                $('#CRT_Info').after(CRT_Info_html);
            }
            
            if (data.CRT_Authorized.length != 0) {
                var status = `<tr><td>授权状态</td><td>${data.CRT_Authorized[0]}</td></tr>`;
                var status_html = '<div><table class="am-table am-table-bordered am-table-radius am-table-striped">' + status + "</table></div>";
                $('#CRT_Authorized').after(status_html);
            }
        } else {
            alert('请输入完整信息！')
        }
    })
}

// c13b4980c14dc9738450c1c993e05a0e76c275cd8e8527d1978a801aaa59214f
// c22d4ba4e01bbedbdc29fc5094c0c0c7e36cf0d99d9ab65e55d4e861fde79eea

// class="am-table am-table-bordered am-table-radius am-table-striped"

$('.check_state_table_header').click(function () {
    if ($(this).next().attr('class') != 'check_state_table_header') {
        $(this).next().slideToggle();
    }
})